@charset 'utf-8';
@import '../../common';
$css_sprites2: url('../../../images/index/css_sprites2.png');
.famers-list {
    border-radius: 5px;
    background-color: #eeeeee;
    @include custom-width-height(280px,
    94%);
    position: absolute;
    left: 21px;
    top: 21px;
    z-index: 1;
    @extend .flex;
    flex-direction: column;
    justify-content: space-between;
    .famers-title {
        background-color: #113a33;
        height: 50px;
        border-radius: 5px 5px 0 0;
        @extend .flex-vertical-center;
        color: #feffff;
        padding: 13px 0 12px 20px;
        box-shadow: 0 1px 1px #adadad;
    }
    h3 {
        font-size: 24px;
    }
    .famers-lists {
        height: calc(100% - 114px);
        overflow-y: scroll;
    }
    .famers-closer {
        text-decoration: none;
        position: absolute;
        top: 9px;
        right: 7px;
        &:after {
            content: "✖";
            color: #ffffff;
        }
    }
}

.famers-add {
    @include custom-width-height(100%,
    34px);
    @extend .flex-center;
    margin: 15px 0;
    font-size: 16px;
    cursor: pointer;
    >div:first-child {
        @extend .flex-center;
        color: #ffffff;
        background-color: #183d36;
        @include custom-width-height(116px,
        34px);
        border: solid 1px #3980bb;
        border-radius: 5px;
    }
    .bg-add {
        @include custom-width-height(14px,
        14px);
        background: $css_sprites2 -91px -45px;
        margin-right: 7px;
    }
}

.famers {
    @extend .flex-left-right;
    padding: 20px;
    font-size: 14px;
    border-bottom: 1px solid #999999;
    align-items: center;
    .famers-mess {
        @extend .flex;
        height: 44px;
        flex-direction: column;
        justify-content: space-between;
        >div {
            @extend .flex; // margin-bottom: 15px;
            .bg-person {
                @include custom-width-height(16px,
                15px);
                background: $css_sprites2 -91px -10px;
                margin-right: 5px;
            }
            .bg-phone {
                @include custom-width-height(16px,
                15px);
                background: $css_sprites2 -55px -10px;
                margin-right: 5px;
            }
        }
    }
    .famers-own {
        @include custom-width-height(30px,
        30px);
        @extend .flex-center;
        border-radius: 15px;
        background-color: #183d36;
        font-size: 20px;
        color: #ffffff;
        font-weight: bold;
    }
}